package com.baosight.risk.api.fltd;

import java.util.List;

import com.baosight.risk.base.service.BaseService;
import com.baosight.risk.service.fltd.entity.FltdNotice;
import com.baosight.risk.service.fltd.param.FltdNoticeQueryActiveParam;

/**
 * 作者： lishaoqing
 * 时间： 2019年11月07日
 * 描述： FltdNoticeService
 * 版本: v1.0
 */
public interface FltdNoticeService extends BaseService<FltdNotice> {

    void sendMsg(String userCode, String userName) throws Exception;

    void doSchedule(String jobId) throws Exception;

    void doOffset(String jobId) throws Exception;

    void add(String userCode) throws Exception;

    void send(String userCode, String userName, int num) throws Exception;

    void insertOA(String userCode, String userName, int num) throws Exception;

    Boolean closeMessage(String userCode) throws Exception;

    void sendOA(String jobId) throws Exception;

    List<FltdNotice> queryActiveNotices(FltdNoticeQueryActiveParam param);
    
    void deleteOAById(String id) throws Exception;
}
